﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Tomahawk.Runtime.Logic;
using System.Xml.Serialization;

namespace Archetypes.Logic
{

    public class Player : XObject
    {
        /// <summary>
        /// Example enumeration 
        /// </summary>
        public enum PlayerType
        {
            Human,
            AI
        }

        #region "Serializable properties"

        // These properties will be automatically readed from the xml archetype, if
        // one it's specified during the object instantiation

        [XmlAttribute("name")]
        public string PlayerName;

        [XmlElement("Speed")]
        public float Speed;

        [XmlElement("Type")]
        public PlayerType PType;
        
        #endregion

    }

}
